package com.ktmall.ktmalluijava.mapper;


import com.ktmall.ktmalluijava.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author ZhouShuang
 * @version 17
 * @Title
 * @date 2025/5/23 下午3:39
 */

@Mapper
public interface UserMapper {
    /**
     * 根据用户名和密码查询用户z
     * @param userName
     * @param password
     * @return
     */
     User getUserByNameAndPassword(@Param("userName") String userName, @Param("password") String password);
}
